{% extends "base.html" %}
{% load thumbnail %}

{% block title %}{{ post.title }}{% endblock %}

{% block page-title %}Blog{% endblock %}

{% block content %}
<h3>Blog Archive</h3>
{% for c, posts in posts_by_category.items %}
  <h4>{{ c }}</h4>
  {% for post in posts %}
    <p>{{ post.date }} - <a href="{{ post.get_absolute_url }}">{{ post.title }}</a></p>
  {% endfor %}
{% endfor %}

{% endblock %}
